module button_test (  
    en, clk, led, reset
);
  input en, clk, reset;
  output reg led;

  always @(posedge en or reset) begin
    if ( reset ) led = 0;
    else if ( en && clk ) led = ~led;
  end
endmodule